/*
 * @Author: fjxcjm 3157329468@qq.com
 * @Date: 2024-10-08 14:09:38
 * @LastEditors: fjxcjm 3157329468@qq.com
 * @LastEditTime: 2024-10-14 16:42:54
 * @FilePath: \vue3-project\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from "vue";
import { createPinia } from "pinia";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import "element-plus/dist/index.css";
import ElementPlus from "element-plus";
import SvgIcon from "@/components/svg-icon/svg-icon.vue";
import 'virtual:svg-icons-register' // 全局注册svg组件

const app = createApp(App);
const pinia = createPinia(); // 创建 Pinia 实例
app.use(pinia).component(SvgIcon);
app.use(ElementPlus);
app.use(router);
app.mount("#app");
